package cn.itcast;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class ConsumerProvider {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext c = new ClassPathXmlApplicationContext("classpath*:spring/applicationContext-receive.xml");
        c.start();
        System.in.read();
    }
}
